<p>
  canvas-pdf works!
</p>


<!-- 外层添加滚动条class="pdfboxs"-包裹pdf打印id="pdfbox"【解决使用 html2canvas 截图不全问题】 -->
<div class="pdfboxs">
  <div id="pdfbox">

    pdf内容, html
    <p>pdf内容, html</p>
    <p>pdf内容, html</p>
    <p>pdf内容, html</p>
    <p>pdf内容, html</p>
    <p>pdf内容, html</p>
    <p>pdf内容, html</p>
    <p>pdf内容, html</p>
    <p>pdf内容, html</p>
    <p>pdf内容, html</p>
    <p>pdf内容, html</p>
    <p>pdf内容, html</p>
    <p>pdf内容, html</p>
    <p>pdf内容, html</p>
    <p>pdf内容, html</p>
    <p>pdf内容, html</p>
    <p>pdf内容, html</p>
    <p>pdf内容, html</p>
    <p>pdf内容, html</p>
    <p>pdf内容, html</p>
    <p>pdf内容, html</p>
    <p>pdf内容, html</p>
    <p>pdf内容, html</p>
    <nz-form-label [nzSpan]="2">报告时间</nz-form-label>
    <nz-form-control [nzSpan]="4">
      <input nz-input placeholder="请输入" disabled />
    </nz-form-control>
    <img height="200px" src="../../assets/image/01.png" alt="">
  </div>


</div>

<button class="btn btn-cyan" (click)="ExportPDF()">
  <i class="fa fa-plus-circle"></i>
  <span>导出</span>
</button>